package cn.tedu.weibo.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.FieldDefaults;

import java.util.Date;

/**
 * 评论列表的VO类
 */
@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
public class CommentVO {
    //评论id,评论内容,评论时间,用户昵称
    Long id;
    String content;
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss", timezone = "Asia/Shanghai")
    Date created;
    String nickname;
}
